package com.chatbi.service.vectorstore;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ChromaVectorStoreFactory implements VectorStoreFactory {
    
    @Value("${chroma.url}")
    private String chromaUrl;

    @Override
    public VectorStore createVectorStore() {
        return new ChromaVectorStore(chromaUrl);
    }
}
